package com.service;

import java.io.Serializable;

import com.enetiy.Authcode;
import com.enetiy.Authcodeinfo;

public interface AuthCodeService {
		//添加手机验证码
		public Serializable insertAuthCode(Authcode auth) throws Exception;
		//添加手机验证码记录
		public void insertAuthCodeInfo(Authcodeinfo authcodeinfo) throws Exception;
		//删除手机验证码
		public void deleteAuthCode(Authcode auth) throws Exception;
		//根据手机查询是否含有验证码
		public Authcode selectAuthCode(String phone) throws Exception;
		//根据手机查询验证码
		public boolean selectAuthCode(String phone,String code) throws Exception;
}
